Graphene is a dependency of Gsk, not Gdk
authorEmmanuele Bassi <ebassi@gnome.org>
Wed, 3 Feb 2021 14:05:27 +0000 (14:05 +0000)
committerEmmanuele Bassi <ebassi@gnome.org>
Wed, 3 Feb 2021 14:05:27 +0000 (14:05 +0000)
So let's put it in the right place when building the introspection data.

gtk/meson.build

index c1b2186e89cc98b533432ae8d74f52f5e14a279b..42cb07a2058ba6362f21baf52b29c1453f66a67d 100644 (file)
@@ -1142,12 +1142,6 @@ if build_gir
   # the installed one
   gdk_gir_inc = [ 'cairo-1.0', 'Gio-2.0', ]
 
-  if graphene_dep.type_name() == 'internal'
-    gdk_gir_inc += subproject('graphene').get_variable('graphene_gir').get(0)
-  else
-    gdk_gir_inc += 'Graphene-1.0'
-  endif
-
   if pixbuf_dep.type_name() == 'internal'
     gdk_gir_inc += subproject('gdk-pixbuf').get_variable('gdkpixbuf_gir').get(0)
   else
@@ -1211,6 +1205,12 @@ if build_gir
 
   gsk_gir_inc = [ gdk_gir[0] ]
 
+  if graphene_dep.type_name() == 'internal'
+    gsk_gir_inc += subproject('graphene').get_variable('graphene_gir').get(0)
+  else
+    gsk_gir_inc += 'Graphene-1.0'
+  endif
+
   gsk_gir = gnome.generate_gir(libgtk,
     sources: gsk_public_headers + gsk_public_sources + [ gskenum_h ],
     namespace: 'Gsk',